<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/x-icon" href="../ico/ai45v-vjnuj-001.ico">
    <!-- CSS only -->
    <link href="./css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
    <!-- JavaScript Bundle with Popper -->
    <script src="./js/bootstrap.bundle.min.js"
        integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4" crossorigin="anonymous">
        </script>
    <script src="./js/jquery-3.4.1.min.js"></script>
    <title>个人中心</title>
</head>


<body class="modal modal-signin position-static d-block bg-secondary">

    <div tabindex="-1" role="dialog" id="modalSignin" style="margin-top: 10%;">
        <div class="modal-dialog " role="document">
            <div class="modal-content ">
                <!-- 选项框 -->
                <ul class="choosess nav nav-tabs">
                    <li class="chooses nav-item">
                        <a class="nav-link active" aria-current="page" href="#" data-choose="selfs">基本信息</a>
                    </li>
                    <li class="chooses nav-item">
                        <a class="nav-link" href="#" data-choose="xx_change">信息修改</a>
                    </li>
                    <li class="chooses nav-item">
                        <a class="nav-link" href="#" data-choose="change">密码修改</a>
                    </li>
                    <a class="nav-link" href="./" data-choose="change">返回</a>
                </ul>

                <!-- 个人信息 -->
                <div class="yuan list-group" id="selfs">
                    <a href="#" class="list-group-item list-group-item-action d-flex gap-3 py-3" aria-current="true">
                        <div class="d-flex gap-2 w-100 justify-content-between">
                            <div>
                                <img src="./Head_p" style="width: 100%;" alt="">
                            </div>
                            <small class="opacity-50 text-nowrap">头像</small>
                        </div>
                    </a>
                    <a href="#" class="list-group-item list-group-item-action d-flex gap-3 py-3" aria-current="true">
                        <div class="d-flex gap-2 w-100 justify-content-between">
                            <div>
                                <h6 class="mb-0" id="username"></h6>
                                <p class="mb-0 opacity-75" id="userid">ID：</p>
                            </div>
                            <small class="opacity-50 text-nowrap">个人信息</small>
                        </div>
                    </a>
                    <a href="#" class="list-group-item list-group-item-action d-flex gap-3 py-3" aria-current="true">
                        <div class="d-flex gap-2 w-100 justify-content-between">
                            <div>
                                <h6 class="mb-0" id="MenuNum">发布数：</h6>
                                <p class="mb-0 opacity-75" id="Collection">收藏数：</p>
                            </div>
                            <small class="opacity-50 text-nowrap">菜品信息</small>
                        </div>
                    </a>
                </div>

                <!-- 信息修改 -->
                <div class="yuan list-group" style="margin-left: 1%;display: none;" id="xx_change">
                    <div class="row g-3">
                        <div class="col-12">
                            <label for="username" class="form-label">您的用户名</label>
                            <div class="input-group has-validation">
                                <span class="input-group-text">名</span>
                                <input type="text" class="form-control" id="username1" placeholder="用户名" required="">
                            </div>
                        </div>
                        <div class="col-12">
                            <label for="username" class="form-label">您的ID</label>
                            <div class="input-group has-validation">
                                <span class="input-group-text" style="color: red;">ID</span>
                                <input disabled type="text" class="form-control" id="userid1" placeholder="您的ID"
                                    required="">
                            </div>
                        </div>
                        <div class="col-12">
                            <div class="input-group mb-3">
                                <label class="form-label" for="inputGroupFile01">您的头像</label>
                                <div class="input-group has-validation">
                                    <span class="input-group-text">头像</span>
                                    <input type="file" class="form-control" id="picture">
                                </div>
                            </div>
                        </div>
                        <div class="modal-body pt-0 nav justify-content-center">
                            <button class="btn btn-primary" style="width:auto" type="button"
                                onclick="javascript:re_usn()">保存</button>
                        </div>
                    </div>
                </div>

                <!-- 修改密码 -->
                <div class="yuan list-group" style="margin-left: 1%;display: none;" id="change">
                    <div class="col-12">
                        <div class="input-group has-validation mt-2">
                            <span class="input-group-text">旧密码</span>
                            <input type="text" class="form-control" id="old_pas" placeholder="旧密码" required="">
                        </div>
                    </div>
                    <div class="col-12">
                        <div class="input-group has-validation mt-2">
                            <span class="input-group-text">新密码</span>
                            <input type="password" class="form-control" id="new_pas" placeholder="新密码" required="">
                        </div>
                    </div>
                    <div class="col-12">
                        <div class="input-group has-validation mt-2">
                            <span class="input-group-text">新密码</span>
                            <input type="password" class="form-control" id="new_pass" placeholder="新密码" required="">
                        </div>
                    </div>
                    <div class="modal-body pt-0 nav justify-content-center mt-4">
                        <button class="btn btn-primary" style="width:auto" type="button"
                            onclick="javascript:re_pas()">保存</button>
                    </div>
                    <div class="modal-body pt-0 nav justify-content-center mt-4">
                        <div class="toast align-items-center text-bg-primary border-0 fade" role="alert"
                            aria-live="assertive" aria-atomic="true" id="toast1">
                            <div class="d-flex">
                                <div class="toast-body" id="toast1_text">
                                </div>
                                <button type="button" class="btn-close btn-close-white me-2 m-auto"
                                    data-bs-dismiss="toast" aria-label="Close" _mstaria-label="59709"></button>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 提示框 -->
                <div class="modal-body pt-0 nav justify-content-center mt-4">
                    <div class="toast align-items-center text-bg-primary border-0 fade" role="alert"
                        aria-live="assertive" aria-atomic="true" id="toast1">
                        <div class="d-flex">
                            <div class="toast-body" id="toast1_text">
                            </div>
                            <button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast"
                                aria-label="Close" _mstaria-label="59709"></button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script src="./js/myselfs_part.js"></script>
</body>

</html>